<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <script src="http://libs.baidu.com/jquery/1.9.0/jquery.js"></script>
</head>
<body>
<button type="button" onclick="dd();">点击1</button>
    <script>
        $.ajax({
            url:'/login',
            type:'post',
            data:{username:'18111111111',password:'user'},
            success:function(data, status){
                alert('login'+status)
            }
        })
        function dd(){
            $.ajax({
                url:'/auth/users/signactivity?type=2',
                type:'post',
                data:{userid:6,gid:1},
                success:function(data, status){

                }
            })
        }
    </script>
</body>
</html>